package com.itheima.advantagesup.mapper;

import com.itheima.advantagesup.entity.YddUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author iTaotao
 * @version 1.0.0
 * @ClassName UserLoginMapper.java
 * @Description
 * @createTime 2023年07月30日 18:07:00
 */
@Mapper
public interface UserLoginMapper {
    /**
     * 选择用户通过用户电话
     *
     * @param mobile 移动
     * @return {@link YddUser}
     */
    @Select("select * from ydd_user where mobile = #{mobile}")
    YddUser selectUserByUserPhone(String mobile);
}
